package org.jeecg.modules.simulator.model.person.path;

import lombok.Data;

/**
 * @program: gp2
 * @description:
 * @author: lydms
 * @create: 2024-08-20 15:13
 **/
@Data
public class PersonPathItem  implements Comparable<PersonPathItem>{
    String stationName;
    String stationId;
    String lineId;
    /**
     * 是否换乘
     */
    boolean isTransfer;
    /**
     * 是否需要换乘
     */
    boolean isNeedTransfer;
    String pathIndex;
    int index;

    @Override
    public int compareTo(PersonPathItem o) {
        return Integer.compare(this.index, o.index);
    }

}
